<?php
/*
 * WAP:我的家园
 * @author samuel
 * @date 2009-05-22
 */

define('IN_SYS', TRUE);

if(!defined('ROOT_PATH')) define('ROOT_PATH', str_replace('\\', '/', dirname( __FILE__ )) . '/' );
//if(!defined('ROOT_URL')) define('ROOT_URL', 'http://localhost/project_justfun/' );
if(!defined('ROOT_URL')) define('ROOT_URL', 'http://192.168.0.13/project_justfun/' );

//载入配置文件
require_once './includes/config.inc.php';
//载入核心类
require_once './classes/class.core.php';

//初始化系统
$obj = Core::init();
//全局化
$GLOBALS['CORE'] = $obj;

//运行系统
//header("Content-type: text/vnd.wap.wml");
$obj->runWap();


?>
